class GetMessageList {
  String id;
  String processIdFrom;
  String processIdTo;
  String title;
  String url;
  String status;
  String createTime;
  String content;
  String msgType;
  String img;

  GetMessageList(
      {this.id,
      this.processIdFrom,
      this.processIdTo,
      this.title,
      this.url,
      this.status,
      this.createTime,
      this.content,
      this.msgType,
      this.img});

  GetMessageList.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    processIdFrom = json['process_id_from'];
    processIdTo = json['process_id_to'];
    title = json['title'];
    url = json['url'];
    status = json['status'];
    createTime = json['create_time'];
    content = json['content'];
    msgType = json['msg_type'];
    img = json['img'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['process_id_from'] = this.processIdFrom;
    data['process_id_to'] = this.processIdTo;
    data['title'] = this.title;
    data['url'] = this.url;
    data['status'] = this.status;
    data['create_time'] = this.createTime;
    data['content'] = this.content;
    data['msg_type'] = this.msgType;
    data['img'] = this.img;
    return data;
  }
}
